import 'package:flutter/widgets.dart';

import '../../utils/gt_vip_utils.dart';

/// @Title  Vip标签组件
/// @Author: bryce
/// @CreateDate: 2023年12月01日09:42:49
class GTVipTag extends StatelessWidget {
  final int vipLevel;

  const GTVipTag({Key? key, required this.vipLevel}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Image.asset(height: 14, GTVipUtils.getVipAssetImageByVipLevel(vipLevel), fit: BoxFit.cover);
  }
}
